package com.hais1992.oneday.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类，用于存放评论数据
 * @author Cafee
 * @date   2014-4-5
 */
public class Review implements Serializable{

	private static final long serialVersionUID = -5244297163496777691L;
	
	private long id;			//评论ID
	private Article articleId;	//所属文章ID
	private Date time;			//评论时间
	private String content;		//评论内容
	private User userId;		//评论用户
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public Article getArticleId() {
		return articleId;
	}
	public void setArticleId(Article articleId) {
		this.articleId = articleId;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public User getUserId() {
		return userId;
	}
	public void setUserId(User userId) {
		this.userId = userId;
	}
	
	
}
